package java67_15;

public class Train {
	private String line;
	private String from;
	private String to;

	public Train(String line, String from, String to) {
		super();
		this.line = line;
		this.from = from;
		this.to = to;
	}

	public String getLine() {
		return line;
	}

	public void setLine(String line) {
		this.line = line;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

}
